package com.five.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 读者对小说的评论
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Long id;
    private Long novelId;
    private Long parentId;
    private Long logininfoId;
    /*
     * 评论人 类型 1作者 2读者
     * */
    private Integer type;
    private String content;
    private Date createTime;

    /*
     * 是否删除 0未删除、1删除
     * */
    private Integer isDeleted;
}